If the specified variable already exists in the environment, append()
will append the value instead of overriding it. This isn't what we
want for the existing use case ("TZ=Europe/Madrid:UTC"), nor for
the case we are about to add.
Change the setup to use set() instead.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3721>
foreach test, extra_args : unit_tests
local_test_env = unit_testenv
foreach var, value : extra_args.get('env', {})
- local_test_env.append(var, value)
+ local_test_env.set(var, value)
endforeach
test(test, jasmine,